<div class="container" ng-controller="CreateNewsCtrl">
    <div class="body">
        <div class="left">
            <ul>
                <li ng-repeat="operation in data.operationList">
                    <a href="{{operation.url}}" style="color:#fff;background:#1ebdff;text-decoration:none;" ng-if="operation.url == nowUrl">{{operation.name}}</a>
                    <a href="{{operation.url}}" ng-if="operation.url != nowUrl">{{operation.name}}</a>
                </li>
            </ul>
        </div>
        <div class="right" style="display: flex; flex-flow: row wrap ; padding-bottom: 100px">
            <h1 class="create-title" style="width:100%;">新建招标咨询</h1>
            <div class="create-tender" style="margin-left: 0px; width: 100%">
                <table>
                    <tr>
                        <td height="60px" width="20%" align="right">招标咨询标题：</td>
                        <td width="80%"><input type="text" ng-model="data.title"></td>
                    </tr>
                    <tr>
                        <td align="right" height="60px" width="20%">招标咨询内容：</td>
                        <td><textarea type="text" ng-model="data.content" cols="60" rows="4"> </textarea></td>
                    </tr>
                    <tr>
                        <td align="right" width="40%">
                        </td>
                        <td align="center">
                            <div flow-init="" flow-files-submitted="$flow.upload()"
                                 flow-file-added="!!{png:1,gif:1,jpg:1,jpeg:1}[$file.getExtension()]"
                                 class="ng-scope pull-left" style="height:50px;margin:16px 20px 0px 0px;position:relative;" flow-name="data.flow">
                                <div class="drop" flow-drop="" ng-class="dropClass">
                                    <span class="btn" flow-btn="" style="background: #1ebdff;color: #fff;">
                                      上传图片
                                      <input type="file" accept="image/png" multiple="multiple" style="visibility: hidden; position: absolute;">
                                    </span>
                                </div><br>
                                <div style="position:absolute;top:45px;left:-15%;width:200px;">
                                    <div ng-repeat="file in $flow.files" class="gallery-box ng-scope">

                                        <div class="row">
                                            <div class="col-lg-10 col-md-10">
                                                <span class="title ng-binding">{{file.name}}</span>
                                            </div>
                                            <div class="col-lg-2 col-md-2">
                                                <div class="btn-group">
                                                    <a class="glyphicon glyphicon-trash" ng-click="file.cancel()" aria-hidden="true" style="text-decoration:none;cursor:pointer"></a>
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                            </div>
                            <button ng-click="btnCreateNews()" ng-disabled="submit" class="btn btn-success pull-left" style="margin-top:16px;">提交</button>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div>
